package com.pro.service.imple;

import com.pro.mapper.JsCourseJournalMapper;
import com.pro.pojo.JsCourseJournal;
import com.pro.service.JsCourseJournalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsCourseJournalServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2021/12/13 21:09
 * @Author: ZPT
 */
@Service
public class JsCourseJournalServiceImple implements JsCourseJournalService {

    @Autowired(required = false)
    private JsCourseJournalMapper mapper;

    @Override
    public List<JsCourseJournal> getJournal(Integer productCode,String  productName,String updateDate) {
        return mapper.getJournal(productCode,productName,updateDate);
    }

    @Override
    public Integer removeJournalById(Integer id) {
        return mapper.removeJournalById(id);
    }

    @Override
    public Integer addJournal(JsCourseJournal jsCourseJournal) {
        return mapper.addJournal(jsCourseJournal);
    }
}
